<h1>Contenite Sample Applications</h1>
<?php
if (isset($_SESSION['user'])) {
  ?><p>You are logged in as <?php
  printf('<a href="mailto:%s">%s</a> - <a href="/user/logout">logout</a>.', $_SESSION['user']->email, $_SESSION['user']->name);
}
?>

<p>These are a few sample apps. They are implemented as <em>stacked</em>, independent applications within the main application directory.</p>

<ul>
  <li><a href="/preregister">Preregistration</a></li>
  <li><a href="/user">Simple user management</a></li>
</ul>
